﻿@model IEnumerable<Keleyi.Com.Model.MessageInfo>
@{
    ViewBag.Title = "首页";
}
@section featured {
    <section class="featured">
        <div class="content-wrapper">
            <hgroup class="title">
                <h1>@ViewBag.Title.</h1>
                <h2>@ViewBag.Message</h2>
            </hgroup>
            @Html.ActionLink("我要留言", "Create", "Message")
        </div>
    </section>
}

<div>
    @foreach (var item in Model) {
    <div style="border:1px solid black;margin-top:15px;">
          时间：  @item.kAddtime 标题：  @item.kTitle
        <hr />
         内容：  @item.kContent
      </div>
}    
    </div>